module.exports.test = function () {
    let allOrder = Game.market.getAllOrders({type: ORDER_SELL, resourceType: RESOURCE_ENERGY})
    for (let order of allOrder) {
        let consumeResource = Game.market.calcTransactionCost(1000, Game.rooms['W52N16'].name, order.roomName);
        console.log("数量:"+order.amount+",价格:"+order.price+",消耗:"+consumeResource);
    }
}